package entity;


import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.sql.Date;

public class Datails {

  private long id;
  private String number;
  private String name;
  private String names;



  private long companyid;
  private double money;
  private long num;
  private String specid;
  private long colorid;
  private String order;

  private long ietyoe;
  @DateTimeFormat(pattern = "yyyy-MM-dd")
  @JsonFormat(pattern = "yyyy-MM-dd")

  private java.sql.Date date;


  private java.sql.Date dates;


  private long supplierid;
  private long typeid;
  private long customerid ;

  private long warehouseid;

  private long agent;

  private Customer customer;
  private Supplier supplier;
  private Commtype commtype;
  private Colortype colortype;
  private Comptype comptype;
  private Warehouse warehouse;
  private Staff staff;


  private long typeids;


  private long chuhuo;

  public long getAgent() {
    return agent;
  }

  public void setAgent(long agent) {
    this.agent = agent;
  }

  public long getChuhuo() {
    return chuhuo;
  }

  public void setChuhuo(long chuhuo) {
    this.chuhuo = chuhuo;
  }

  public Comptype getComptype() {
    return comptype;
  }

  public void setComptype(Comptype comptype) {
    this.comptype = comptype;
  }

  public Commtype getCommtype() {
    return commtype;
  }

  public void setCommtype(Commtype commtype) {
    this.commtype = commtype;
  }

  public Colortype getColortype() {
    return colortype;
  }

  public void setColortype(Colortype colortype) {
    this.colortype = colortype;
  }





  public long getId() {
    return id;
  }

  public void setId(long id) {
    this.id = id;
  }


  public String getNumber() {
    return number;
  }

  public void setNumber(String number) {
    this.number = number;
  }


  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }


  public long getCompanyid() {
    return companyid;
  }

  public void setCompanyid(long companyid) {
    this.companyid = companyid;
  }


  public double getMoney() {
    return money;
  }

  public void setMoney(double money) {
    this.money = money;
  }


  public long getNum() {
    return num;
  }

  public void setNum(long num) {
    this.num = num;
  }


  public String getSpecid() {
    return specid;
  }

  public void setSpecid(String specid) {
    this.specid = specid;
  }

  public long getColorid() {
    return colorid;
  }

  public void setColorid(long colorid) {
    this.colorid = colorid;
  }


  public String getOrder() {
    return order;
  }

  public void setOrder(String order) {
    this.order = order;
  }

  public long getSupplierid() {
    return supplierid;
  }

  public void setSupplierid(long supplierid) {
    this.supplierid = supplierid;
  }


  public Date getDate() {
    return date;
  }

  public void setDate(Date date) {
    this.date = date;
  }

  public Supplier getSupplier() {
    return supplier;
  }

  public void setSupplier(Supplier supplier) {
    this.supplier = supplier;
  }

  public long getTypeid() {
    return typeid;
  }

  public void setTypeid(long typeid) {
    this.typeid = typeid;
  }


  public Customer getCustomer() {
    return customer;
  }

  public void setCustomer(Customer customer) {
    this.customer = customer;
  }

  public long getIetyoe() {
    return ietyoe;
  }

  public void setIetyoe(long ietyoe) {
    this.ietyoe = ietyoe;
  }

  public long getCustomerid() {
    return customerid;
  }

  public void setCustomerid(long customerid) {
    this.customerid = customerid;
  }


  public long getWarehouseid() {
    return warehouseid;
  }

  public void setWarehouseid(long warehouseid) {
    this.warehouseid = warehouseid;
  }

  public Warehouse getWarehouse() {
    return warehouse;
  }

  public void setWarehouse(Warehouse warehouse) {
    this.warehouse = warehouse;
  }




  public Staff getStaff() {
    return staff;
  }

  public void setStaff(Staff staff) {
    this.staff = staff;
  }


  public String getNames() {
    return names;
  }

  public void setNames(String names) {
    this.names = names;
  }

  public Date getDates() {
    return dates;
  }

  public void setDates(Date dates) {
    this.dates = dates;
  }

  public long getTypeids() {
    return typeids;
  }

  public void setTypeids(long typeids) {
    this.typeids = typeids;
  }
}
